﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="product.aspx.cs" Inherits="PhuLeBooze.product" %>

<%@ Register Src="~/ucNew2Item.ascx" TagPrefix="uc1" TagName="ucNew2Item" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container">
		<div id="content" class="sp">
			<h1 class="title">Sản Phẩm</h1>
			<div id="sphot">
				<ul id="ulProduct">
					<%--<li><a href="#"><img src="images/sphot.png" /></a></li>
					<li><a href="#"><img src="images/sphot.png" /></a></li>
					<li><a href="#"><img src="images/sphot.png" /></a></li>
					<li><a href="#"><img src="images/sphot.png" /></a></li>
					<li><a href="#"><img src="images/sphot.png" /></a></li>
					<li><a href="#"><img src="images/sphot.png" /></a></li>--%>
                    <asp:Literal ID="ltrDetail" runat="server"></asp:Literal>
					<div class="clearfix"></div>
				</ul>
			</div>
		</div>
		 <uc1:ucNew2Item runat="server" ID="ucNew2Item" />
	</div>
   
    <script>
        var activeMenu = "product";
        $(function () {
            var countLI = $("ul#ulProduct li").length;
            if (countLI < 4) {
                var mLeft=(12.5* (4-countLI))+'%';
                $($("ul#ulProduct li")[0]).css({ "margin-left": mLeft });
            }

            prefixLink = $(location).attr('protocol') + "//" + $(location).attr('host'); + '/';
            $.each($("a.procuctdetail"), function (index, item) {
                var title = $(this).attr('title');
                title = make_friendly_link(title);
                var href = prefixLink + $(this).attr('href') + '/' + title;
                $(this).attr('href', href);
            });
        });
    </script>

    
</asp:Content>
